package cn.baidu.homework1;

public class TestPrinter {

	public static void main(String[] args) {
		Printer  dp= new DotMatrixPrinter();
		dp.print();
		Printer ip=new InpetPrinter();
		ip.print();
		Printer ic=new LaserPrinter();
		ic.print();

	}

}
